<!doctype html><html lang="zh-Hans-CN"><head>	<meta charset="UTF-8">	<title>for循环的应用</title></head><body>	<h3>for循环的应用</h3>	<hr>	<script>		for (let i=1,sum=0; i<=100;i++)	{			sum = sum + i;		}		document.write("用for循环求1～100之间所有数字之和为" + sum);	</script>	<hr>    <p><script>document.write(document.lastModified);</script><a href="index.html">返回本章目录</a></p></body></html>